<?php
namespace API\Controller;
use Think\Controller;
class LoginServiceController extends Controller {
    public function login(){

         $username = $_GET['u_name'];
         $password = $_GET['u_password'];

        $User = M('users');
        $data = $User -> find($u_id);

        echo json_encode($data);
         echo "<br>";

    }
}
?>
